/*
 * @Description: GetMaterialApp pages
 * @Author: SkyinHand
 * @Email: zstk666@gmail.com
 * @Date: 2021-07-18 10:36:22
 * @LastEditTime: 2021-07-18 11:24:46
 * @LastEditors: SkyinHand
 */

import 'package:get/get.dart';
import 'package:high_help_apps/pages/main/home/life_help/second_hand_market/commodity_detail/commodity_detail_view.dart';
import 'package:high_help_apps/pages/pages.dart';

part 'app_routes.dart';

class AppPages {
  static final List<GetPage> routes = [
    /// 闪屏页
    GetPage(
      name: AppRoutes.INITIAL,
      page: () => SplashWelcomePage()
    ),
    /// 登录页
    GetPage(
      name: AppRoutes.SIGN_IN,
      page: () => SignInPage(),
    ),
    /// 注册主页
    GetPage(
      name: AppRoutes.SIGN_UP,
      page: () => SignUpPage(),
    ),
    /// 注册学籍认证（使用PageView包含了学籍认证和上传信息）
    GetPage(
      name: AppRoutes.SIGN_UP_STEP,
      page: () => SignUpStepPage(),
    ),
    /// 邮箱验证页面
    GetPage(
      name: AppRoutes.EMAIL_AUTH_PAGE,
      page: () => EmailAuthPage(),
    ),
    /// 主页脚手架
    GetPage(
      name: AppRoutes.HOME_SCAFFOLD,
      page: () => HomeScaffold(),
    ),
    /// 主页
    GetPage(
      name: AppRoutes.HOME_PAGE,
      page: () => HomePage(),
    ),
    /// 搜索页
    GetPage(
      name: AppRoutes.SEARCH_PAGE,
      page: () => SearchPage(),
    ),
    /// 社区页
    GetPage(
      name: AppRoutes.COMMUNITY_PAGE,
      page: () => CommunityPage(),
    ),
    /// 信息共享页
    GetPage(
      name: AppRoutes.INFO_SHARE,
      page: () => InfoSharePage(),
    ),
    /// 生活互助页
    GetPage(
      name: AppRoutes.LIFE_HELP,
      page: () => LifeHelpPage(),
    ),
    /// 心灵互助页
    GetPage(
      name: AppRoutes.SOUL_HELP,
      page: () => SoulHelpPage(),
    ),
    /// 学习互助页
    GetPage(
      name: AppRoutes.STUDY_HELP,
      page: () => StudyHelpPage(),
    ),
    /// 勤工俭学页
    GetPage(
      name: AppRoutes.WORK_HARD,
      page: () => WorkHardPage(),
    ),
    /// 校园交友页
    GetPage(
      name: AppRoutes.CAMPUS_DATING,
      page: () => CampusDatingPage(),
    ),
    /// 打卡监督页
    GetPage(
      name: AppRoutes.CHECK_IN,
      page: () => CheckInPage(),
    ),
    /// 老乡交流页
    GetPage(
      name: AppRoutes.FELLOW_EXCHANGE,
      page: () => FellowExchangePage(),
    ),
    /// 社团活动页
    GetPage(
      name: AppRoutes.SOCIAL_ACTIVITY,
      page: () => SocialActivityPage(),
    ),
    /// 吐槽树
    GetPage(
      name: AppRoutes.TUCAO_TREE,
      page: () => TuCaoTreePage(),
    ),
    /// 用户关注页面
    GetPage(
      name: AppRoutes.USER_FAV_PROFILE,
      page: () => UserFavProfilePage(),
    ),
    /// 添加商品
    GetPage(
      name: AppRoutes.LIFE_HELP_ADD_SHOP,
      page: () => LifeHelpAddShopPage(),
    ),
    /// 二手市场
    GetPage(
      name: AppRoutes.SECOND_HAND_MARKET,
      page: () => SecondHandMarketPage(),
    ),
    /// 互帮互助
    GetPage(
      name: AppRoutes.HELP_EACH_OTHER,
      page: () => HelpEachOtherPage(),
    ),
    /// 发布悬赏
    GetPage(
      name: AppRoutes.RELEASE_A_REWARD,
      page: () => ReleaseRewardPage(),
    ),
    /// 二手商品详情信息
    GetPage(
      name: AppRoutes.COMMODITY_DETAIL,
      page: () => CommodityDetailPage(),
    ),
  ];
}
